        <div class="yz-tasklist-entry">
<?
$relHref = $var_YzAdmin
    or $relHref = $var_webRoot;
$var_list->apply(
    function($el) use ($relHref) {
        print <<<html
                    <a href="{$relHref}{$el->href}">{$el->title}</a>\n
html;
        return ! $el->hasChildren();
    },
    // enter
    function($el) {
        print <<<html
                <div class="yz-tasklist-entry">\n
html;
    },
    // exit
    function($el) {
        print <<<html
                </div>\n
html;
    }
);
?>
        </div>